/**
 * Copyright &copy; 2012-2016
 * <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights
 * reserved.
 */
package com.thinkgem.jeesite.modules.dispatch.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.dispatch.dao.ShopDispatchOperateDao;
import com.thinkgem.jeesite.modules.dispatch.entity.ShopDispatchOperate;

/**
 * 发货单操作流程Service
 * 
 * @author ws
 * @version 2016-12-27
 */
@Service
@Transactional(readOnly = true)
public class ShopDispatchOperateService
        extends
        CrudService<ShopDispatchOperateDao, ShopDispatchOperate> {

    @Autowired
    private ShopDispatchOperateDao shopDispatchOperateDao;

    public ShopDispatchOperate findById(String id) {
        return shopDispatchOperateDao.findById(id);
    }

    public ShopDispatchOperate get(String id) {
        return super.get(id);
    }

    public List<ShopDispatchOperate> findList(
            ShopDispatchOperate ShopDiapatchOperate) {
        return super.findList(ShopDiapatchOperate);
    }

    public Page<ShopDispatchOperate> findPage(Page<ShopDispatchOperate> page,
            ShopDispatchOperate shopDiapatchOperate) {
        return super.findPage(page, shopDiapatchOperate);
    }

    @Transactional(readOnly = false)
    public void save(ShopDispatchOperate shopDiapatchOperate) {
        super.save(shopDiapatchOperate);

    }

    @Transactional(readOnly = false)
    public void delete(ShopDispatchOperate shopDiapatchOperate) {
        super.delete(shopDiapatchOperate);
    }

}